package com.his.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName register
 */
@TableName(value ="register")
@Data
public class Register implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String caseNumber;

    /**
     * 
     */
    private String realName;

    /**
     * 
     */
    private String gender;

    /**
     * 
     */
    private Date birthdate;

    /**
     * 
     */
    private Integer age;

    /**
     * 
     */
    private String ageType;

    /**
     * 
     */
    private String homeAddress;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date visitDate;

    /**
     * 
     */
    private String noon;

    /**
     * 
     */
    private Integer deptmentId;

    /**
     * 
     */
    private Integer employeeId;

    /**
     * 
     */
    private Integer registLevelId;

    /**
     * 
     */
    private Integer settleCategoryId;

    /**
     * 
     */
    private String isBook;

    /**
     * 
     */
    private String registMethod;

    /**
     * 
     */
    private BigDecimal registMoney;

    /**
     * 
     */
    private Integer visitState;

    /**
     * 
     */
    private String cardNumber;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @TableField(exist = false)
    private Integer cid;

    @TableField(exist = false)
    private String techName;
}